<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>&lt;errno.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_003_256">&nbsp;</a>NAME</h4><blockquote>
errno.h - system error numbers
</blockquote><h4><a name = "tag_000_003_257">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;errno.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_000_003_258">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>&lt;errno.h&gt;</i>
header
provides a declaration for
<i>errno</i>
and gives non-zero values for the following symbolic constants.
Their values are unique
&nbsp;except as noted below:
<dl compact>

<dt>E2BIG<dd>
Argument list too long.

<dt>EACCES<dd>
Permission denied.

<dt>EADDRINUSE<dd>
Address in use.

<dt>EADDRNOTAVAIL<dd>
Address not available.

<dt>EAFNOSUPPORT<dd>
Address family not supported.

<dt>EAGAIN<dd>
Resource unavailable, try again
(may be the same value as EWOULDBLOCK).

<dt>EALREADY<dd>
Connection already in progress.

<dt>EBADF<dd>
Bad file descriptor.

<dt>EBADMSG<dd>
Bad message.

<dt>EBUSY<dd>
Device or resource busy.

<dt>ECANCELED<dd>
Operation canceled.

<dt>ECHILD<dd>
No child processes.

<dt>ECONNABORTED<dd>
Connection aborted.

<dt>ECONNREFUSED<dd>
Connection refused.

<dt>ECONNRESET<dd>
Connection reset.

<dt>EDEADLK<dd>
Resource deadlock would occur.

<dt>EDESTADDRREQ<dd>
Destination address required.

<dt>EDOM<dd>
Mathematics argument out of domain of function.

<dt>EDQUOT<dd>
Reserved.

<dt>EEXIST<dd>
File exists.

<dt>EFAULT<dd>
Bad address.

<dt>EFBIG<dd>
File too large.

<dt>EHOSTUNREACH<dd>
Host is unreachable.

<dt>EIDRM<dd>
Identifier removed.

<dt>EILSEQ<dd>
Illegal byte sequence.

<dt>EINPROGRESS<dd>
Operation in progress.

<dt>EINTR<dd>
Interrupted function.

<dt>EINVAL<dd>
Invalid argument.

<dt>EIO<dd>
I/O error.

<dt>EISCONN<dd>
Socket is connected.

<dt>EISDIR<dd>
Is a directory.

<dt>ELOOP<dd>
Too many levels of symbolic links.

<dt>EMFILE<dd>
Too many open files.

<dt>EMLINK<dd>
Too many links.

<dt>EMSGSIZE<dd>
Message too large.

<dt>EMULTIHOP<dd>
Reserved.

<dt>ENAMETOOLONG<dd>
Filename too long.

<dt>ENETDOWN<dd>
Network is down.

<dt>ENETUNREACH<dd>
Network unreachable.

<dt>ENFILE<dd>
Too many files open in system.

<dt>ENOBUFS<dd>
No buffer space available.

<dt>ENODATA<dd>
No message is available on the STREAM head read queue.

<dt>ENODEV<dd>
No such device.

<dt>ENOENT<dd>
No such file or directory.

<dt>ENOEXEC<dd>
Executable file format error.

<dt>ENOLCK<dd>
No locks available.

<dt>ENOLINK<dd>
Reserved.

<dt>ENOMEM<dd>
Not enough space.

<dt>ENOMSG<dd>
No message of the desired type.

<dt>ENOPROTOOPT<dd>
Protocol not available.

<dt>ENOSPC<dd>
No space left on device.

<dt>ENOSR<dd>
No STREAM resources.

<dt>ENOSTR<dd>
Not a STREAM.

<dt>ENOSYS<dd>
Function not supported.

<dt>ENOTCONN<dd>
The socket is not connected.

<dt>ENOTDIR<dd>
Not a directory.

<dt>ENOTEMPTY<dd>
Directory not empty.

<dt>ENOTSOCK<dd>
Not a socket.

<dt>ENOTSUP<dd>
Not supported.

<dt>ENOTTY<dd>
Inappropriate I/O control operation.

<dt>ENXIO<dd>
No such device or address.

<dt>EOPNOTSUPP<dd>
Operation not supported on socket.

<dt>EOVERFLOW<dd>
Value too large to be stored in data type.

<dt>EPERM<dd>
Operation not permitted.

<dt>EPIPE<dd>
Broken pipe.

<dt>EPROTO<dd>
Protocol error.

<dt>EPROTONOSUPPORT<dd>
Protocol not supported.

<dt>EPROTOTYPE<dd>
Socket type not supported.

<dt>ERANGE<dd>
Result too large.

<dt>EROFS<dd>
Read-only file system.

<dt>ESPIPE<dd>
Invalid seek.

<dt>ESRCH<dd>
No such process.

<dt>ESTALE<dd>
Reserved.

<dt>ETIME<dd>
Stream
<i><a href="ioctl.html">ioctl()</a></i>
timeout.

<dt>ETIMEDOUT<dd>
Connection timed out.

<dt>ETXTBSY<dd>
Text file busy.

<dt>EWOULDBLOCK<dd>
Operation would block
(may be the same value as [EAGAIN]).

<dt>EXDEV<dd>
Cross-device link.

</dl>
<br>
</blockquote><h4><a name = "tag_000_003_259">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
Additional error numbers may be defined on XSI-conformant systems.  See
<xref href=adderr><a href="errors.html#tag_000_004_001">
Additional Error Numbers
</a></xref>.
</blockquote><h4><a name = "tag_000_003_260">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_003_261">&nbsp;</a>SEE ALSO</h4><blockquote>
<a href="errors.html">errors</a>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
